<%
	var h = fromDate.getHours();

	if(selectedDate) {
		h = selectedDate.getHours();
	}

	var am, pm;
	if(h >= 0 && h <= 11) {
		am = 'default'
	} else {
		pm = 'default';
	}
%>
<li <%=am||''%>>上午</li>
<li <%=pm||''%>>下午</li>